<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		
	</head>
	<body>
		<!--<table border="0" cellspacing="30px" cellpadding="10xp" >
			<tr>
				<th>编号</th>
				<th>姓名</th>
				<th>年龄</th>
			</tr>
			<tr>
				<td>1</td>
				<td>张三</td>
				<td>20</td>
			</tr>
			<tr>
				<td>2</td>
				<td>李四</td>
				<td>21</td>
			</tr>
		</table>-->
		<script type="text/javascript">
			//1. alert 弹出两句话
			alert( "大家好：");
			alert( "我是和媛媛");
			//2. 在页面输出打印 一个表格 
			document.write("<table>");
			document.write("<tr>");
			document.write("<th>编号</th>");
			document.write("<th>姓名</th>");
			document.write("<th>年龄</th>");
			document.write("</tr>");
			document.write("<tr>");
			document.write("<td>1</td>");
			document.write("<th>张三</th>");
			document.write("<th>20</th>");
			document.write("</tr>");
			document.write("<tr>");
			document.write("<td>2</td>");
			document.write("<th>李四</th>");
			document.write("<th>21</th>");
			document.write("</tr>");
			document.write("</table>");
			
			
			//3.通过变量名在控制台输出打印个人简介
			var name = "和媛媛";
			var address = "安阳";
			var age = "18";
			console.log("我是"+ name,address + "人","今年" + age);
			
		</script>
	</body>
</html>
